package cn.huchao.controller;

import cn.huchao.aspect.LogFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author huchao
 * @date 2018/7/27
 * @description
 */
@RestController
public class Controller {
    /**
     * 添加
     * @return
     */
    @RequestMapping("/add")
    @LogFactory
    public String add(){
        System.out.println("添加");

        return "nihao";
    }
}
